Slider Tool
A Slider Tool object is for UIS commands that require an analog value. When a user moves the pointer to a new position, that position is sent as the "value" for the command. Optionally, the object can be configured to prompt the user to confirm the command before it is sent.
|
Slider Tool Examples |
A Slider Tool object must be associated with an analog point. The value of this point sets the position of the pointer. Use the point identifier properties to form a fully qualified CygNet tag string. The point identifier properties are [1:SiteService], [2:Point ID], [3:Long Point ID], [4:Facility ID], and [5:UDC]. If the object is on a templated screen, only use the [5:UDC] property.
The pointer can be moved by dragging the pointer or using the arrow keys, the Page Up and Page Down keys, or the mouse wheel. The amount of movement for the wheel and key options is specified by the KeyArrowStepSize, KeyPageStepSize, and the MouseWheelStepSize properties.
The range of the Slider object is defined by its PositionMin and PositionMax properties.
The style of the Pointer is defined by the PointerStyle, PointerWidth, and PointerHeight properties. If the style of the pointer is LED, Light Bar, or Bar Color, the color specified by the PointerIndicatorActiveColor is shown when the pointer is being moved.
If the PointerStyle property is set to Bitmap, you can use the PointerBitmap property to specify a bitmap image to use for the indicator.
The orientation of the object can be vertical or horizontal. If you change the orientation, you will also have to adjust the object’s boundary to match. The scale can go left-right, right-left, top-bottom, or bottom-top. The scale is reversed using the ReverseScale property. The number, length, precision, and color of the tick marks can be configured.
The [AlarmElement] property can be set to show the point state color in the object’s Background Color, the Track Color, or not at all (None). When set to None, the color specified for each component is shown. If set to one of the other options, the component color is replaced with the point state color.
The [UseCustomStateColors] property enables the object to use its own custom point state colors. If set to 1 - Yes, the colors used are those defined by the object’s [CustomStateColors] property. If set to 0 - No, the colors are those defined by the TheView’s [CustomStateColors] property.
CygNet Studio also has the following similar tools:
|
|
Slider object, which displays a sliding scale used to set a constant value. |
|
|
Slider Switch Tool, which displays a slider used for multi-state (enumerated) command values. |
|
|
Sliding Scale Tool, which displays a slider showing a value within a given span. |
More:
Slider Tool - Properties, Events, and Methods

